You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No actionable comments were generated in the recent review.
Summary
Summary by CodeRabbit
Compatibility
The minimum supported Python version is now 3.11 across the SDK packages; Python 3.10 is no longer supported.
Development environments and automated tests now use Python 3.11 or newer, with CI coverage spanning Python 3.11–3.14.
Documentation
Updated timeout guidance to refer to Python’s standard timeout API without a version restriction.
The minimum supported Python version changes from 3.10 to 3.11 across package metadata, CI, and development containers. Code replaces compatibility imports for StrEnum, Self, and assert_never with standard-library imports, and removes related conditional dependencies. Realtime timeout handling now catches built-in TimeoutError. Tests and timeout guidance are updated.
Possibly related PRs
supabase/supabase-py#1915: Makes the same Python 3.11 support transition across package metadata, CI, devcontainers, and imports.
supabase/supabase-py#1370: Earlier support transition that raised the minimum from Python 3.9 to 3.10.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: aff0d4e1-2b89-42aa-99cb-0cbb885a7d25
Commits
Reviewing files that changed from the base of the PR and between 9470ff7 and 76614d1.
Files ignored due to path filters: 1
uv.lock is excluded by !**/*.lock
Files selected for processing: 26
.devcontainer/Dockerfile
.devcontainer/devcontainer.json
.github/workflows/ci.yml
AGENTS.md
pyproject.toml
sdk-compliance.yaml
src/auth/.devcontainer/Dockerfile
src/auth/.devcontainer/devcontainer.json
src/auth/pyproject.toml
src/functions/pyproject.toml
src/functions/src/supabase_functions/utils.py
src/functions/tests/test_utils.py
src/postgrest/.devcontainer/Dockerfile
src/postgrest/.devcontainer/devcontainer.json
src/postgrest/pyproject.toml
src/postgrest/src/postgrest/client.py
src/postgrest/src/postgrest/request_builder.py
src/postgrest/src/postgrest/types.py
src/realtime/pyproject.toml
src/realtime/src/realtime/channel.py
src/realtime/src/realtime/client.py
src/storage/pyproject.toml
src/storage/tests/test_vector_index.py
src/supabase/pyproject.toml
src/utils/pyproject.toml
src/utils/src/supabase_utils/http/io.py
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 4 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Drops Python 3.10 support across every package. The minimum supported version is now Python 3.11.
Changes
requires-pythonis>=3.11in every package, and mypypython_versionis3.11forauthandrealtime.target-versionispy311. Ruff's pyupgrade fixes were applied (asyncio.TimeoutErrortoTimeoutError,timezone.utctoUTC).strenumdependency fromfunctionsandpostgrest, and useenum.StrEnumdirectly.Selfandassert_neverfromtypinginstead oftyping_extensions.3.11-bullseye.AGENTS.md,sdk-compliance.yamlnotes anduv.lock.Breaking change
Users on Python 3.10 can no longer install v3 of these packages.
Verification
make ruffandmake mypypass for all packages.functions,postgrest,storageandrealtimepass locally.